#ifndef __USART_MEM__
#define __USART_MEM__
typedef enum{
  EMPTY,
  DC_DONE,
  SERVO_OK,
  EVENT1,
  EVENT2,
  REPORT1,
  REPORT2,
  MAX_MSG
}MSG_INTERSYSTEM;

typedef enum{
  Hazardous,
  Recyclable,
  kitchen,
  Other
}RUBBISH_E;

#pragma pack(1)
typedef struct{
	uint8_t MSG;
	uint8_t SERVO;//4
	uint8_t STEP;//4
	uint8_t PUSH_MOTOR;//4
	uint8_t Inf;
}USART_MEM;
#pragma pack()
extern uint8_t USARTbuftx[sizeof(USART_MEM)];
extern uint8_t USARTbufrx[sizeof(USART_MEM)];
extern USART_MEM *SEND_MEM_TX;
extern USART_MEM *SEND_MEM_RX;

#endif /* __USART_MEM__ */